package bosc.cn.controller.dto;

/**
 * @author tianshq
 * @date 2025/9/6 19:26
 * @description
 */
public class RustSignReqDTO {
    private int localId;       // 本地节点ID（0,1,2）
    private int peerId;        // 交互方节点ID
    private String message;    // 签名内容
    private String localIp;    // 本地IP
    private String peerIp;     // 对方IP
    private int localPort;     // 本地端口
    private int peerPort;      // 对方端口

    public int getLocalId() {
        return localId;
    }

    public void setLocalId(int localId) {
        this.localId = localId;
    }

    public int getPeerId() {
        return peerId;
    }

    public void setPeerId(int peerId) {
        this.peerId = peerId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getLocalIp() {
        return localIp;
    }

    public void setLocalIp(String localIp) {
        this.localIp = localIp;
    }

    public String getPeerIp() {
        return peerIp;
    }

    public void setPeerIp(String peerIp) {
        this.peerIp = peerIp;
    }

    public int getLocalPort() {
        return localPort;
    }

    public void setLocalPort(int localPort) {
        this.localPort = localPort;
    }

    public int getPeerPort() {
        return peerPort;
    }

    public void setPeerPort(int peerPort) {
        this.peerPort = peerPort;
    }
}
